RM.Pages.Functions.ExcursionPrices_ReservationEdit = function(UnitID, FormID, data){


    return new Ext.form.FieldSet({
        id: FormID+'fieldset',
        bodyStyle : "padding:10px;",
        layout: 'border',
        labelWidth: 190,
        title: RM.Translate.Admin.Reservations.Edit.PersonsSelectionTitle,
        height: 150,
        items:[{
            region:'west',
            width: 200,
            collapsible: false,
            layout: 'form',
            bodyBorder: false,
            frame: false,
            items : [{
                id : FormID+"persons_adults",
                hiddenName : FormID+"persons_adults_hidden",
                name : FormID+"persons_name",
                xtype : "combo",
                width: 60,
                fieldLabel : RM.Translate.Admin.Reservations.Edit.Adults,
                store : new Ext.data.SimpleStore({
                    fields:[
                    {
                        name:'value',
                        type:'string'
                    },

                    {
                        name:'text',
                        type:'string'
                    }
                    ],
                    data: RM.Common.Combo_Number_Data(1,50,1)
                }),
                forceSelection: true,
                mode: "local",
                triggerAction: 'all',
                selectOnFocus: true,
                valueField: 'value',
                displayField: 'text',
                allowBlank: false,
                emptyText: RM.Translate.Common.PleaseSelect,
                value: data.persons.adults,
                listeners: {
                    'change': function(){
                        RM.Pages.Functions.Reservations_SummaryUpdate(UnitID)
                    }
                }
            },{
                id : FormID+"persons_children",
                hiddenName : FormID+"persons_hidden",
                name : FormID+"persons_name",
                xtype : "combo",
                width: 60,
                fieldLabel : RM.Translate.Admin.Reservations.Edit.Children,
                store : new Ext.data.SimpleStore({
                    fields:[
                    {
                        name:'value',
                        type:'string'
                    },

                    {
                        name:'text',
                        type:'string'
                    }
                    ],
                    data: RM.Common.Combo_Number_Data(0,50,1)
                }),
                forceSelection: true,
                mode: "local",
                triggerAction: 'all',
                selectOnFocus: true,
                valueField: 'value',
                displayField: 'text',
                allowBlank: false,
                emptyText: RM.Translate.Common.PleaseSelect,
                value: data.persons.children,
                listeners: {
                    'change': function(){
                        RM.Pages.Functions.Reservations_SummaryUpdate(UnitID)
                    }
                }
            },{
                id : FormID+"persons_infants",
                hiddenName : FormID+"persons_hidden",
                name : FormID+"persons_name",
                xtype : "combo",
                width: 60,
                fieldLabel : RM.Translate.Admin.Reservations.Edit.Infants,
                store : new Ext.data.SimpleStore({
                    fields:[
                    {
                        name:'value',
                        type:'string'
                    },

                    {
                        name:'text',
                        type:'string'
                    }
                    ],
                    data: RM.Common.Combo_Number_Data(0,20,1)
                }),
                forceSelection: true,
                mode: "local",
                triggerAction: 'all',
                selectOnFocus: true,
                valueField: 'value',
                displayField: 'text',
                allowBlank: false,
                emptyText: RM.Translate.Common.PleaseSelect,
                value: data.persons.infants,
                listeners: {
                    'change': function(){
                        RM.Pages.Functions.Reservations_SummaryUpdate(UnitID)
                    }
                }
            }]
        },{
            region:'center',
            autoScroll:true,
            layout: 'form',
            bodyBorder: false,
            frame: false,
            items:[]
        }]
    });

}